Compare Side-By-Side
Compare anything, side-by-side, in a split view
Details
Installs
- Total 339K
- Win 183K
- Mac 111K
- Linux 44K
Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 56 | 53 | 21 | 22 | 37 | 47 | 56 | 63 | 61 | 9 | 21 | 48 | 56 | 45 | 50 | 41 | 12 | 14 | 43 | 30 | 40 | 32 | 40 | 18 | 14 | 41 | 64 | 44 | 66 | 57 | 17 | 15 | 38 | 64 | 48 | 59 | 49 | 14 | 20 | 39 | 43 | 62 | 60 | 44 | 17 | 23 |
Mac | 28 | 37 | 4 | 12 | 32 | 39 | 49 | 43 | 32 | 12 | 11 | 42 | 50 | 29 | 29 | 25 | 9 | 17 | 32 | 32 | 32 | 39 | 36 | 10 | 5 | 41 | 49 | 49 | 36 | 31 | 12 | 13 | 36 | 41 | 48 | 43 | 37 | 12 | 13 | 28 | 45 | 34 | 35 | 28 | 17 | 12 |
Linux | 11 | 9 | 5 | 1 | 8 | 8 | 11 | 8 | 8 | 7 | 3 | 9 | 6 | 4 | 6 | 4 | 3 | 4 | 9 | 6 | 6 | 5 | 5 | 0 | 4 | 9 | 6 | 7 | 13 | 9 | 6 | 7 | 8 | 6 | 9 | 7 | 10 | 4 | 1 | 6 | 2 | 11 | 6 | 9 | 2 | 4 |
Readme
- Source
- raw.githubusercontent.com
Compare Side-By-Side
This package adds a simple side-by-side comparison tool to Sublime Text. Here is us on Package Control and here on GitHub.
Features
- Easily select two tabs or selections to compare
- Comparison results open in a new window
- Empty lines added so common code lines up
- Count number of lines changed
- Highlighting of changed lines
- Intra-line diff highlighting
- Synchronized scrolling
Installation Options
- Search for and install using Package Control (ctrl+shift+P, “Install Package”)
- Clone or extract this repo to a new folder in your Sublime 'Packages' folder
(Preferences -> Browse Packages)
Usage Options
- Right click on a tab and select “Compare with…”
- Right click somewhere in the active view and select “Compare with…”
- Right click on a tab and select “Compare with active tab”
- Highlight text, right click -> “Mark selection for comparison” Mark a second selection, then right click -> “Compare selections”
- Create two selections by holding CTRL, then “Compare selections”
- From the command line: see README_COMMANDS.md
- Jump to next:
alt+n
, jump to previous:alt+p
Configuration
- The standard diff scopes/colors are used, these are
diff.inserted.sbs-compare
,diff.inserted.char.sbs-compare
,diff.deleted.sbs-compare
,diff.deleted.char.sbs-compare
. Note that I just added the suffix “.sbs-compare” to them. You can change the colors in your color scheme (ctrl+shift+P, “UI: Customize Color Scheme”). - Other options can be configured in SBSCompare.sublime-settings To access: Preferences -> Package Settings -> Compare Side-By-Side
License & Contributing
- MIT license
- Pull requests welcome!
- Fork of https://bitbucket.org/dougty/sublime-compare-side-by-side/